aboutsummaryrefslogtreecommitdiff
path: root/src/routes/projects/[id]
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/projects/[id]')
-rw-r--r--src/routes/projects/[id]/+page.svelte8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/projects/[id]/+page.svelte b/src/routes/projects/[id]/+page.svelte
index 345f35f..b67ff45 100644
--- a/src/routes/projects/[id]/+page.svelte
+++ b/src/routes/projects/[id]/+page.svelte
@@ -156,6 +156,10 @@
>
</form>
{:else}
+ <StatusBadge
+ status={routine.status}
+ overdueDays={routine.overdueDays}
+ />
<div class="routine-info">
<a
class="routine-name"
@@ -171,10 +175,6 @@
{/if}
</span>
</div>
- <StatusBadge
- status={routine.status}
- overdueDays={routine.overdueDays}
- />
<form method="POST" action="?/complete" use:enhance>
<input type="hidden" name="id" value={routine.id} />
<button class="btn-done" type="submit">Fait</button>